package org.feiye.studyday23;

public class SbTest {

	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder("刘备，");
		sb.append("关羽，");
		sb.append("张飞");
		sb.append("桃园三结义。");
		System.out.println(sb);
		sb.insert(6, "吕布");
		System.out.println(sb);
		sb.delete(6, 8);
		System.out.println(sb);
	}

}
